
<template>
  <div class="help-wrap">
       <div class="help-min">
           <div class="help-title">反馈内容</div>
            <div class="date">{{detailInfo.gmtCreated}}</div>
            <div class="content">
                    {{detailInfo.title}} 
            </div>
       </div>
        <div class="help-min">
           <div class="help-title">平台回复</div>
            <div class="date">{{detailInfo.replyTime}}</div>
            <div class="content">
                  {{detailInfo.replyDetail}} 
            </div>
       </div>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {
      detailInfo:{}
    };
  },
  mounted() {
    
    this.findEsPlatformById()
    this.updateByUserIsRead()
  },
  created() {
    
  },
  methods: {
      
    updateByUserIsRead() {
      let url = this.$CONSTANT.MY.updateByUserIsRead+'?sessionId='+this.$common.getCookie("sessionId");
      let param = {
        id:this.$route.query.id
      };
      // this.$vux.loading.show({
      //   text: '正在获取数据'
      // })
      this.$common.post(url, param, res => {
      
      });
    },
    findEsPlatformById() {
      let url = this.$CONSTANT.MY.findById+'?sessionId='+this.$common.getCookie("sessionId");
      let param = {
        id:this.$route.query.id
      };
      // this.$vux.loading.show({
      //   text: '正在获取数据'
      // })
      this.$common.post(url, param, res => {
        this.detailInfo = res.data.bussData
      });
    },
    linkTo(id){
      this.$router.push({
        path:'replyInfo',
        query:{
          id:id
        }
      })
    }
  },
  components: {
    
  }
};
</script>

<style lang="less">
.help-wrap{
    background-color: #fff;
  .help-min{
      border-bottom: 1px solid #F2F2F2;
      padding: 20px 12px 20px 9px;
    .date{
        font-size:13px;
        font-family:PingFang SC;
        font-weight:400;
        color:rgba(179,179,179,1);
    }
    .help-title{
        font-size:15px;
        font-family:PingFang SC;
        font-weight:bold;
        color:rgba(51,51,51,1);
    }
    .content{
        font-size:14px;
        font-family:PingFang SC;
        font-weight:500;
        color:rgba(128,128,128,1);
        padding-top: 5px;
    }
  }
}
</style>
